package org.lhh.server.pojo.vo;

import java.util.List;

public class DatabaseNodeVo {

    private String id;
    private String label;
    private String type;
    private String pId;
    private boolean open;
    private int icon;
    private List<DatabaseNodeVo> children;

    public DatabaseNodeVo(String id, String pId, String label, String type, int icon, boolean open) {
        this.id=id;
        this.pId=pId;
        this.label=label;
        this.type=type;
        this.open=open;
        this.icon=icon;
    }

    public DatabaseNodeVo() {

    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public int getIcon() {
        return icon;
    }

    public void setIcon(int icon) {
        this.icon = icon;
    }

    public boolean isOpen() {
        return open;
    }

    public void setOpen(boolean open) {
        this.open = open;
    }

    public List<DatabaseNodeVo> getChildren() {
        return children;
    }

    public void setChildren(List<DatabaseNodeVo> children) {
        this.children = children;
    }
}
